Preparing the Docker Image from the Source
Building a docker image from a source is relatively easy. This example shows the steps that are required to build and deploy the Service Layer application. As a prerequisite, the docker must be installed on the host machine, where the Service Layer application container will be built.
Prerequisites
Before beginning the installation steps, the following components and binaries should be downloaded from My Oracle Support :
-
Tomcat: 11.0.x
tomcat can be downloaded from the location - https://tomcat.apache.org/download-11.cgi
Version: Tomcat (11.0.x)
Note: Rename the downloaded package to tomcat.tar.gz (If you are using any other version of Tomcat , Please update the Dockerfile with the version used.)
-
By default, the Dockerfile is configured with Oracle Proxy. Please comment the proxy if you are outside the Oracle network or update it as per your proxy configuration.
# Comment https_proxy outside the ORACLE network
ENV https_proxy www-proxy-hqdc.us.oracle.com:80
-
Administrative rights to the server
-
Oracle PAS Service v26.1.0.0.0 Media Pack
-
RBAC: Role-Based Access Control
-
Role Definition for Service Layer
-
Adding Roles
-
Adding Users and Roles association
-
-
MSSQL Database - Download the required Database driver and copy the driver to externallibs/sl_shared/lib directory, during image genration it will copy to %TOMCAT_HOME%/lib folder.
-
Microsoft SQL Server- Use the compatible jdbc driver shipped with MS SQL Server software. These files are not available for download. Contact your IT department if you need assistance locating these files.
-
Oracle – The necessary driver, ojdbc17-23.6.0.24.10.jar, is included already in the application libs directory of the OIPA